package com.bank.backend.result;

import java.util.List;

import lombok.Data;

@Data
public class PageResult<T> {
    private long total;
    private int page;
    private int size;
    private List<T> records;

    public void setList(List<?> list) {
        this.records = (List<T>) list;
    }

}